package com.chart.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class HomeController {

    @GetMapping("/index")
    public String index(){
        return "index";
    }

    /*性别*/
    @GetMapping("/sex")
    public String sex(){
        return "renkou/sex";
    }
    /*户口*/
    @GetMapping("/residence")
    public String residence(){return "renkou/residence"; }

    /*年龄*/
    @GetMapping("/age")
    public String age(){return "renkou/age";}

    /*文化程度*/
    @GetMapping("/education")
    public String education(){return "renkou/education"; }

    /*残疾类别*/
    @GetMapping("/disabilityCategory")
    public String disabilityCategory(){ return "renkou/disability_category"; }

    /*残疾类别*/
    @GetMapping("/disabilityClass")
    public String disabilityClass(){ return "renkou/disability_class"; }

    @GetMapping("/index_v1")
    public String indexV1(){ return "index_v1"; }

    @GetMapping("/index_v148b2")
    public String indexV148b2(){ return "index_v148b2"; }

}
